package com.nari.ncps.screen.service.electric;

import com.baomidou.mybatisplus.extension.service.IService;
import com.nari.ncps.screen.vo.electric.CoalSourceDistribution;
import com.nari.ncps.screen.entity.electric.ElectricProdoperFuelFrom;

import java.util.List;

/**
 * <p>
 * 燃料来源表 服务类
 * </p>
 *
 * @author xuesong
 * @since 2025-08-23
 */
public interface ElectricProdoperFuelFromService extends IService<ElectricProdoperFuelFrom> {

    /**
     * 煤炭来源分布情况
     * @param year
     * @return
     */
    List<ElectricProdoperFuelFrom> distributionCoalSources(Integer year);
    
    /**
     * 获取每个电厂的煤炭来源分布情况
     * @param year 年份
     * @return 煤炭来源分布列表
     */
    List<CoalSourceDistribution> getCoalSourceDistributionByPlant(Integer year);

}